home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / libs / vopl / glvopl.lha / glvopl / docs / gpp.doc < prev    next >
Encoding:
Text File  |  1993-10-07  |  4.3 KB  |  199 lines

  1.  
  2.  
  3.  
  4. GPP(1)                   USER COMMANDS                     GPP(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      gpp - a program for plotting graphs
  10.  
  11. SYNOPSIS
  12.      gpp [ -l<d> ] [ -s <s1> <s2> ] [ -r<fact> ] [ -S ] [ -P ]
  13.      [ -G ] [ -c ] [ -m<n> ] [ -w<n> ] [ -g ] [ -p<n> ] [ -L ]
  14.      [ -x xmin xmax ] [ -y ymin ymax ] [ -X ] [ -Y ] [ -Mx<n> ]
  15.      [ -My<n> ] [ -f<fontname> ] [ -d<device> ] file or -
  16.  
  17.  
  18. DESCRIPTION
  19.      This program displays multiple  graphs  with  various  curve
  20.      fitting  and axis options.  The following options are avail-
  21.      able:
  22.  
  23.  
  24.      -l<d>
  25.           Perform a least square fit of degree "d" on each curve.
  26.  
  27.  
  28.      -s <s1> <s2>
  29.           Perform a cubic spline fit  on  each  curve,  with  end
  30.           slopes s1 and s2 (Ie. a clamped spline)
  31.  
  32.  
  33.      -r <fact>
  34.           Reduce (if fact < 1.0) or enlarge (if fact >  1.0)  the
  35.           entire plot.
  36.  
  37.  
  38.      -S   Perform a cubic spline fit on each curve using a cardi-
  39.           nal  spline  and the VOGLE(3) routine curve().  The end
  40.           slopes are calculated  as  the  tangent  to  the  curve
  41.           formed  by  the  lines  connecting the first and second
  42.           points and the last and next to last points.
  43.  
  44.  
  45.      -P   Perform a power equation fit on each curve.
  46.  
  47.  
  48.      -G   Perform a saturated growth rate fit on each curve.
  49.  
  50.  
  51.      -m<n>
  52.           Place a marker at every "n"th data point on each curve.
  53.  
  54.  
  55.      -g<n>
  56.           Place a grid over the graph, with grid spacing of every
  57.           nth tickmark.
  58.  
  59.  
  60.  
  61.  
  62.  
  63. VOPL 1.2          Last change: 07 October. 1993                 1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. GPP(1)                   USER COMMANDS                     GPP(1)
  71.  
  72.  
  73.  
  74.      -p<n>
  75.           Draws only markers at every <n>th data point
  76.  
  77.  
  78.      -L   Print legends if they are provided.
  79.  
  80.  
  81.      -x xmin xmax
  82.           Specify absolute x  scaling  values.  This  option  by-
  83.           passes the auto-scaling of the x-axis values.
  84.  
  85.  
  86.      -y ymin ymax
  87.           Specify absolute y  scaling  values.  This  option  by-
  88.           passes the auto-scaling of the y-axis values.
  89.  
  90.  
  91.      -X   Draw the X-axis using a logarithmic scale.
  92.  
  93.  
  94.      -Y   Draw the Y-axis using a logarithmic scale.
  95.  
  96.  
  97.      -Mx<n>
  98.           Sets the number of minor tickmarks between (and includ-
  99.           ing) major tickmarks along the X axis.
  100.  
  101.  
  102.      -My<n>
  103.           Sets the number of minor tickmarks between (and includ-
  104.           ing) major tickmarks along the Y axis.
  105.  
  106.  
  107.      -f<fontname>
  108.           Use font name  fontname  where  fontname  is  any  font
  109.           available in the VOGLE(3) library.
  110.  
  111.  
  112.      -d<device>
  113.           Use the output device "device". These are  the  devices
  114.           compiled  into the VOGLE(3) library. Some examples are:
  115.           postscript, hpgl, tek, sun etc.
  116.  
  117.  
  118.      file The name of the input file. If it is a minus '-'  stdin
  119.           is assumed.
  120.  
  121.      The input file contains two lines at the type which describe
  122.      the  graph.  The  first line gives the title, and the second
  123.      line the type. At the moment  the  only  type  supported  is
  124.      "xy".  The  axes titles appropriate to the type of the graph
  125.      are on the lines following the  type  statement.  After  the
  126.  
  127.  
  128.  
  129. VOPL 1.2          Last change: 07 October. 1993                 2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. GPP(1)                   USER COMMANDS                     GPP(1)
  137.  
  138.  
  139.  
  140.      axes  titles  the first legend title is given followed by an
  141.      axes descriptor on the next line.  gpp then reads in  points
  142.      appropriate  to  the axes descriptor until it reaches a plot
  143.      statement. This tells it to save the  current  points  as  a
  144.      seperate  plot. It then looks for another legend followed by
  145.      an axes statement, and  the  cycle  continues.  Legends  and
  146.      titles may be blank lines.
  147.  
  148.           A title for the graph
  149.           type xy
  150.           A title for the x-axis
  151.           A title for the y-axis
  152.           legend for the first plot
  153.           axes xy
  154.           x y
  155.           x y
  156.           . .
  157.           . .
  158.           plot xy
  159.           legend for the second plot
  160.           axes x
  161.           x
  162.           x
  163.           .
  164.           .
  165.           plot xy
  166.  
  167.  
  168. FILES
  169.      /usr/local/lib/hershey/*      Font files.
  170.  
  171. SEE ALSO
  172.      VOGLE(3), VOPL(3).
  173.  
  174. BUGS
  175.      There are too many options.  There may be only  1024  points
  176.      per  trace.   Interpretation  of  Endslopes for splines when
  177.      using logarithmic scalings is Sketchy.
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. VOPL 1.2          Last change: 07 October. 1993                 3
  196.  
  197.  
  198.  
  199.